package com.mycat.web.command.ucenter;

import com.mycat.dao.entity.ucenter.Customer;

/**
 * @author roger.
 * @email luojie@yzworld.cn
 * @date 2016/10/27
 */
public class LoginResponseData {
    private String token;
    private Customer customer;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        if(null != customer){
            customer.setPswd(null);
            customer.setSalt(null);
        }
        this.customer = customer;
    }
}
